package com.gsh.service;

import com.gsh.config.JsonTest;
import com.gsh.pojo.Voltage;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;

public interface IVoltageService {

    JsonTest uploadExcel(String fileName, MultipartFile file,JsonTest result) throws IOException;

    int insertVoltage(Voltage voltage);

    int insertBatchVoltage(List<Voltage> voltages);

    List<Voltage> querybyMD(String measuringPoint,int errType, Date beginDate, Date endDate);
}
